programming:c:function rewindWhat links here?

prototype

void rewind(FILE* stream)


description

Repositions the file pointer to the beginning of a stream. Sets the file pointer associated with the stream to the beginning of the file.

A call to rewind is equivalent to:
fseek ( stream , 0L , SEEK_SET );
except that unlike fseek, using rewind the error indicator is cleared.

The next operation with the stream after a call to fseek can be either for input or output.

This function is also useful for clearing the keyboard buffer (normally associated with stdin).

parameters

programming:c:function rewind
filename:programming:c:function rewind
filename:programming%3Ac%3Afunction%20rewind
last edit:April 04 2009 20:26:44 (5510 days ago)
ct = 1714966482.000000 = May 05 2024 23:34:42
ft = 1238891204.000000 = April 04 2009 20:26:44
dt = 476075278.000000